<include file="Public:header" />
<script charset="utf-8" src="__PUBLIC__/admin/js/kindeditor-4.1.4/kindeditor-min.js"></script>
<script charset="utf-8" src="__PUBLIC__/admin/js/kindeditor-4.1.4/lang/zh_CN.js"></script>
<script type="text/javascript">
$(function(){	
	 KindEditor.create('textarea[name="reply_content"]', {
		 		resizeType : 1,
				allowPreviewEmoticons : false,
                uploadJson :APP+'/Public/uploadByEditor/',
                allowFileManager : true,
				items : [
						'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'image', 'link']				
     });
});
</script>
<body class="mainBackground">
	<include file="Public:menu" />
	<div class="main" id="mainContainer">
        <!--发布-->
    	<div class="content_box">
        	<div class="content_box_t">
            	<h3 class="fl">
               	回复留言
                </h3>
            </div>
            <div class="content_box_c">
            	<form action="__ACTION__" method="post" id="dataForm" name="dataForm" enctype="multipart/form-data">                	<div class="field">
						<label>类型</label>
                        {$type[$data['type']]}
					</div>                                       
                	<div class="field pt15">
						<label>留言人</label>
						{$data.username}
					</div>
                    <div class="field pt15">
						<label>邮箱</label>
						{$data.email}
                    </div>                   
                    <div class="field pt15">
						<label>留言内容</label>
						{$data.content}
                    </div>
                	<div class="field pt15">
						<label>是否开放</label>
						<input type="checkbox" name="status"  value="1" <eq name="data.status" value="1"> checked</eq>/>是 
					</div>                    
                    <div class="field pt15">
						<label>回复</label>
						<textarea class="text_input" name="reply_content" id="reply_content" cols="79" rows="15">{$data.reply_content}</textarea>
                        <span class="input_notification  png_bg" id="reply_contentTip"></span>
                    </div>                                                                              
                    <div class="field pt15 clearfix">
                    	<input type="hidden" name="id" value="{$data.id}"/>   
                    	<input type="submit" value="提交" class="public_button fr" />
                    </div>                                                                               
                </form>
            </div>
        </div>            
        <!--发布结束-->
    </div>
</body>
</html>
